<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="${staticServerAddress }/title.ico">
<link href="css/404.css" rel="stylesheet" type="text/css" />
<title>Insert title here</title>
</head>
<body>

<div class="msg">支付成功,商家正在发货中!!!</div>
<div class="fh msg"><b id="num">15</b>秒后跳转到<a href="home">首页</a></div>
<script> 
function countDown(secs){ 
	if(--secs>0) {
		document.getElementById("num").innerText=secs;
		setTimeout(function(){countDown(secs)},1000);  
	}else{
		window.location.href='home';
	} 
}
	countDown(30); 
</script> 
</body>
</html>